package com.weijian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * 上传相关Mapper接口
 */
public interface UploadMapper extends BaseMapper {

    /**
     * 获取下一个dataId
     *
     * @return 下一个dataId
     */
    @Select("SELECT nextval('data_id_seq')")
    Integer getNextDataId();
}